package com.crm.pojo;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the PLANING_PAY database table.
 * 
 */
@Entity
@Table(name="PLANING_PAY")
@NamedQuery(name="PlaningPay.findAll", query="SELECT p FROM PlaningPay p")
public class PlaningPay implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(initialValue = 1, allocationSize = 1,name="PLANING_PAY_PLANINGPAYID_GENERATOR", sequenceName="SEQ3")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="PLANING_PAY_PLANINGPAYID_GENERATOR")
	@Column(name="PLANING_PAY_ID")
	private Long planingPayId;

	@Column(name="FK_PLANING_PAY_EMPNO")
	private BigDecimal fkPlaningPayEmpno;

	@Column(name="FK_PLANING_PAY_PURCHASE_ID")
	private BigDecimal fkPlaningPayPurchaseId;

	@Column(name="PLANING_PAY_IS_DEL")
	private String planingPayIsDel;

	@Column(name="PLANING_PAY_MONEY")
	private BigDecimal planingPayMoney;

	@Column(name="PLANING_PAY_STATE")
	private String planingPayState;

	@JSONField(format = "yyyy-MM-dd")
	@Temporal(TemporalType.DATE)
	@Column(name="PLANING_PAY_TIME")
	private Date planingPayTime;

	public PlaningPay() {
	}

	public Long getPlaningPayId() {
		return this.planingPayId;
	}

	public void setPlaningPayId(Long planingPayId) {
		this.planingPayId = planingPayId;
	}

	public BigDecimal getFkPlaningPayEmpno() {
		return this.fkPlaningPayEmpno;
	}

	public void setFkPlaningPayEmpno(BigDecimal fkPlaningPayEmpno) {
		this.fkPlaningPayEmpno = fkPlaningPayEmpno;
	}

	public BigDecimal getFkPlaningPayPurchaseId() {
		return this.fkPlaningPayPurchaseId;
	}

	public void setFkPlaningPayPurchaseId(BigDecimal fkPlaningPayPurchaseId) {
		this.fkPlaningPayPurchaseId = fkPlaningPayPurchaseId;
	}

	public String getPlaningPayIsDel() {
		return this.planingPayIsDel;
	}

	public void setPlaningPayIsDel(String planingPayIsDel) {
		this.planingPayIsDel = planingPayIsDel;
	}

	public BigDecimal getPlaningPayMoney() {
		return this.planingPayMoney;
	}

	public void setPlaningPayMoney(BigDecimal planingPayMoney) {
		this.planingPayMoney = planingPayMoney;
	}

	public String getPlaningPayState() {
		return this.planingPayState;
	}

	public void setPlaningPayState(String planingPayState) {
		this.planingPayState = planingPayState;
	}

	public Date getPlaningPayTime() {
		return this.planingPayTime;
	}

	public void setPlaningPayTime(Date planingPayTime) {
		this.planingPayTime = planingPayTime;
	}

}